package com.jm3.riscar3.memory;


public class Register {

	private int data;
	
	public Register()
	{
		data = 0;
	}
	
	public void writeRegister(int newData)
	{
		data = newData;
	}
	
	public int readRegister()
	{
		return data;
	}
	
}
